*{
  margin: 0;
  padding: 0;
}
@import "../../css/bass.css";

.nav-bar {
  min-width: 1205px;
  height: 140px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;

  padding-top: 30px;
  .content {
    //background-color: tomato;
    height: 100%;
    display: flex;
    flex-direction: column;
    .top {
      //background-color: darkcyan;
      flex: 1;
      display: flex;
      >.left {
        flex: 1;
        h1 {
          width: 193px;
          height: 65px;
          //background-color: cyan;
          a {
            width: 100%;
            height: 100%;
            display: block;
            //background-color: pink;
            //text-indent: -9999px;
            font-size: 0;
            background-image: url(../../components/image/img.png);
            background-size: contain;
            background-repeat: no-repeat;
          }
        }
      }
      >.center {

        flex: 2;
        display: flex;
        justify-content: flex-end;
        .search-bar {
          width: 400px;
          height: 40px;
          //background-color: cyan;
          //margin: 0 auto;
          border: 1px solid #999;
          border-radius: 20px;
          box-sizing: border-box;

          display: flex;

          .category {
            background-color: deeppink;
            flex: 1;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
            overflow: hidden;
            label {
              select {
                width: 100%;
                height: 100%;
                border: none;
                padding-left: 10px;
                font-size: 15px;
                color: #666;
                outline: none;
              }
            }
          }
          .keyword {
            background-color: pink;
            flex: 4;
            input {
              width: 100%;
              height: 100%;
              box-sizing: border-box;
              border: none;
              outline: none;
              padding-left: 10px;
            }
          }
          .search-btn {
            background-color: cyan;
            flex: 1;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            overflow: hidden;
            input {
              width: 100%;
              height: 100%;
              border: none;
              outline: none;
              background-color: green;

              color: #fff;
              font-size: 14px;
            }
          }

        }

      }
      //>.right {
      //  background-color: greenyellow;
      //  flex: 1;
      //}
    }
    .bottom {
      height: 40px;
      display: flex;
      .left {
        flex: 1;
        //background-color: cyan;
        .menu-bar {
          width: 100%;
          height: 100%;
          //background-color: darkcyan;
          display: flex;
          li {
            //background-color: grey;
            //border: 1px solid red;
            padding: 0 20px;
            line-height: 30px;
            font-size: 18px;
            position: relative;
            a {
              color: #333;
              text-decoration: none;
            }
            &.active,
            &:hover {
              a {
                color: red;
              }
              //border-bottom: 5px solid red;
              &::after {
                content: "";
                display: block;
                width: 50%;
                height: 5px;
                background-color: red;
                //margin: 0 auto;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
              }
            }
          }
        }
      }
      .right {
        flex: 1;
        //background-color: purple;
        ul {
          height: 100%;
          display: flex;
          justify-content: flex-end;
          li {
            //background-color: cyan;
            padding: 0 20px;
            line-height: 40px;
            font-size: 16px;
            color: #666;
            position: relative;
            &:hover {
              .detail-pane {
                display: block;
              }
            }
            .detail-pane {
              width: 240px;
              height: 220px;
              background-color: #fff;
              position: absolute;
              padding-top: 10px;
              top: 50px;
              left: 50%;
              transform: translateX(-50%);
              border-radius: 10px;
              box-shadow: -1px 2px 5px 5px #ccc;
              display: none;
              text-align: center;
              .title {
                line-height: 26px;
                font-size: 14px;
                color: #333;
              }
              .intro {
                line-height: 24px;
                font-size: 12px;
                color: #666;
              }
              .qr_code {
                margin-top: 10px;
                width: 145px;
                height: 145px;
              }
              &::after {
                content: "";
                border: 10px solid transparent;
                border-bottom-color: #fff;
                position: absolute;
                top: -20px;
                left: 50%;
                transform: translateX(-50%);
                //box-shadow: -1px 2px 5px 5px #ccc;
              }
            }
          }
        }
      }
    }
  }
}

.y1{height:400px;
  width:1200px;
  background-color:red;
  margin: 50px auto;
  position: relative;

.images{
  width: 100%;
  height: 100%;
  background-color: red;
  list-style: none;
  position:relative;
}
.images>li{
  width: 100%;
  height: 100%;
  background-color: cadetblue;
  position: absolute;
  left: 0;
  top: 0;
  display: none;
}
.images>li.t1{
  display: block;
}
.left,
.right{
  width: 50px;
  height: 50px;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  line-height:40px;
  position: absolute;
}
.left{
  border-radius:0 20px 20px 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  }
.right {
  border-radius: 20px 0 0 20px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.pointer{
  width: fit-content;
  height: 12px;
  //background-color: green;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}
.pointer>.s1{
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border: 1px solid rgba(0,0,0,.05);
  background:rgba(255,255,255,.4);
  display: inline-block;
  border-radius: 50%;
}
.pointer>.s1.s2{
  background-color:#ffffff;
  width: 9px;
  height: 9px;
  position: relative;
  top: 2px;
  left: 0;
  border: 3px solid rgba(0,0,0,.1);
}
.pointer>.s1.s3{
  background-color:#ffffff;
  width: 9px;
  height: 9px;
  position: relative;
  top: 2px;
  left: 0;
  border: 3px solid rgba(0,0,0,.1);
}
}

.title-pane {
  width: 1200px;
  margin: 0 auto;
  background-color:white;
  display: flex;
  //flex-direction: column;
  .left{
    flex: 1;
    font-size: 20px;
    float: left;
    color: #000;
    line-height: 28px;
    padding: 40px 0 20px 20px;
    margin: 0;
  }
  .right{
    margin-right: 0;
    padding:40px 24px 20px 20px;
    min-height: 100%;
    font-size: 12px;
  }
}

.renwu {
  width: 1200px;
  margin: 0 auto;
  background-color: white;
  margin-top: 15px;
  .content {
    width: 100%;
    background-color: white;
    //height: 800px;
    display: flex;
    flex-wrap: wrap;
    //justify-content: space-between;

    .item {
      width: 285px;
      height: 125px;
      //position: relative;
      display: flex;
      &:not(:nth-child(4n)) {
        margin-right: 20px;
      }
      &:not(:last-child):after {
        content: "";
        width: 1px;
        height: 60%;
        background-color: darkgray;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
      }
      .left {
        flex: 1;
        background-color: white;
        display: flex;
        align-items: center;
        img {
          width: 100px;
          height: 100px;
          border-radius: 50px;
          transition: all 50ms linear;
          opacity: 1;
          overflow: hidden;
          display: flex;
          flex-direction: column;
          &:hover {
            transform: translateY(-10px);
            box-shadow: 0 5px 5px 5px gray;
          }
        }
      }
      .right {
        flex: 2;
        background-color: white;
        .title,
        .subtitle {
          display: block;
          color:#333333;
          text-decoration: none;
          margin-left: 15px;

        }
        .title{
          font-size: 18px;
          margin-top: 25px;
        }
        .subtitle{
          font-size: 15px;
          margin-top: 30px;
        }
      }
    }
  }
}

.subscript{
  height: 200px;
  .content {
    height: 90%;
    background-color: white;
    display: flex;
    .item {
      flex: 1;
      position: relative;
      &:not(:first-child) {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      &:not(:last-child):after {
        content: "";
        width: 1px;
        height: 80%;
        background-color: darkgray;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
      }
      .logo {
        width: 275px;
        height: 55px;
        opacity: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin-top: 40PX;
        margin-left: 50px;
      }
    }

    .title{
      display: block;
      color:#333333;
      text-decoration: none;
      margin-left: 15px;
      font-size: 18px;
      margin-top: 10px;
    }
    .subtitle{
      font-size: 18px;
      display: block;
      color:#333333;
      text-decoration: none;
      margin-left: 15px;
    }
    .ewm {
      width: 130px;
      height: 130px;
      opacity: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      margin-top: 20PX;
      margin-left: 80px;

    }
    p{
      font-size: 15px;
      margin-left: 90px;
      color: #333333;
    }
  }
  .mask {
    width: 100px;
    height: 100px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;

    //display: none;
    opacity: 0;
    transition: all 500ms linear;
    &.show {
      //display: block;
      opacity: 1;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
    }
    .pane {
      width: 300px;
      height: 300px;
      background-color: white;
      margin: 150px auto;
      padding: 15px;
      position: relative;
      img {
        width: 100%;
        height: 100%;
      }
      .close {
        width: 20px;
        height: 20px;
        font-size: 26px;
        position: absolute;
        color: #fff;
        top: 0;
        right: 0;
      }
    }
  }
}